import React from 'react';
import { Link } from 'react-router-dom';
import './AdminDashboardPage.css';

const AdminDashboardPage = () => {
    return (
        <div className="admin-dashboard">
            <h2>管理员控制面板</h2>
            
            <div className="dashboard-cards">
                <div className="dashboard-card">
                    <h3>用户管理</h3>
                    <p>管理系统用户账户</p>
                    <Link to="/admin/users" className="dashboard-link">进入管理</Link>
                </div>
                
                <div className="dashboard-card">
                    <h3>医生管理</h3>
                    <p>管理医生信息</p>
                    <Link to="/admin/doctors" className="dashboard-link">进入管理</Link>
                </div>
                
                <div className="dashboard-card">
                    <h3>科室管理</h3>
                    <p>管理医院科室</p>
                    <Link to="/admin/departments" className="dashboard-link">进入管理</Link>
                </div>
                
                <div className="dashboard-card">
                    <h3>预约管理</h3>
                    <p>管理系统内的预约信息</p>
                    <Link to="/admin/appointments" className="dashboard-link">进入管理</Link>
                </div>
            </div>
        </div>
    );
};

export default AdminDashboardPage; 